package com.hyt.it.ogt.kq.service.gov.model.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 复制任务参数
 * </p>
 *
 * @author Chengxh
 * @since 2021-08-14
 */
@Data
@ApiModel(value = "复制任务参数")
public class CopyTaskParam {

    @NotBlank(message = "考试任务id不能为空")
    @ApiModelProperty(value = "考试任务id(前端必传)")
    private String taskId;

    @NotBlank(message = "考试任务名称不能为空")
    @ApiModelProperty(value = "考试任务名称(前端必传)")
    private String name;

    @NotNull(message = "复制为任务类型不能为空")
    @ApiModelProperty(value = "复制为任务类型，1：正式任务，2：仿真任务")
    private Integer type;

}
